Leadtools.Codecs Namespace > RasterCodecs Class > DecodeAbic Method : DecodeAbic(Byte[],Int32,Int32,Int32,Boolean) Method |
Call this method to decompress the input 1-bit bi-level or 4-bit grayscale ABIC data.
Use EncodeAbic(Byte[],Int32,Int32,Int32,Boolean) to encode ABIC data.
The output buffer in the Leadtools.RasterNativeBuffer object returned is allocated automatically by this method. The user is responsible to free this unmanaged memory buffer by calling Marshal.FreeHGlobal as follows:
RasterNativeBuffer buffer = rasterCodecsObject.EncodeAbic(... // Use buffer Marshal.FreeHGlobal(buffer.Data);